package com.ruoyi.aftersale.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.aftersale.domain.DmsRepairReservation;

import java.util.List;

/**
 * 维修预约Mapper接口
 * 
 * @author liuchuanfa
 * @date 2024-03-13
 */
public interface DmsRepairReservationMapper extends BaseMapper<DmsRepairReservation>
{
    /**
     * 查询维修预约
     * 
     * @param id 维修预约主键
     * @return 维修预约
     */
    public DmsRepairReservation selectDmsRepairReservationById(Long id);

    /**
     * 查询维修预约列表
     * 
     * @param dmsRepairReservation 维修预约
     * @return 维修预约集合
     */
    public List<DmsRepairReservation> selectDmsRepairReservationList(DmsRepairReservation dmsRepairReservation);

    /**
     * 新增维修预约
     * 
     * @param dmsRepairReservation 维修预约
     * @return 结果
     */
    public int insertDmsRepairReservation(DmsRepairReservation dmsRepairReservation);

    /**
     * 修改维修预约
     * 
     * @param dmsRepairReservation 维修预约
     * @return 结果
     */
    public int updateDmsRepairReservation(DmsRepairReservation dmsRepairReservation);

    /**
     * 删除维修预约
     * 
     * @param id 维修预约主键
     * @return 结果
     */
    public int deleteDmsRepairReservationById(Long id);

    /**
     * 批量删除维修预约
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDmsRepairReservationByIds(Long[] ids);
}
